//导入service对象
import service from "../utiles/request/index";

//社保方案管理列表
export function corporateprotection_socialsecuritylist(payload = {}) {
    return service.get('/corporateprotection/socialsecuritylist', { params: payload })
}
//社保方案管理新增
export function corporateprotection_socialsecurityadd(payload = {}) {
    return service.post('/corporateprotection/socialsecurityadd', payload)
}
// 社保方案管理编辑
export function corporateprotection_socialsecurityupdata(payload:any = {}) {
    return service.post('/corporateprotection/socialsecurityupdata', payload)
}
// 社保方案管理删除
export function corporateprotection_socialsecuritydelete(payload:any = {}) {
    return service.get('/corporateprotection/socialsecuritydelete/'+payload.id, payload)
}

//社保方案关联人员列表
export function usersocialsecuritylist(payload = {}) {
    return service.get('/usersocialsecurity', { params: payload })
}

//公积金方案管理列表
export function corporateprotection_accumulationfundlist(payload = {}) {
    return service.get('/corporateprotection/fundlist', { params: payload })
}
//公积金方案管理新增
export function corporateprotection_accumulationfundadd(payload = {}) {
    return service.post('/corporateprotection/fundadd', payload)
}
// 公积金方案管理编辑
export function corporateprotection_accumulationfundupdata(payload:any = {}) {
    return service.post('/corporateprotection/fundupdata', payload)
}
// 公积金方案管理删除
export function corporateprotection_accumulationfunddelete(payload:any = {}) {
    return service.get('/corporateprotection/funddelete/'+payload.id, payload)
}

//公积金方案关联人员列表
export function useraccumulationfundlist(payload = {}) {
    return service.get('/useraccumulationfund', { params: payload })
}

//参保档案管理列表
export function corporateprotection_archiveslist(payload = {}) {
    return service.get('/dangan/alllist', { params: payload })
}

// 参保档案管理删除
export function corporateprotection_archivesdelete(payload:any = {}) {
    return service.get('/dangan/delete/'+payload.id, payload)
}